const { ccclass, property } = cc._decorator;

@ccclass
export default class VecUtils extends cc.Component {
    static getVec2(pos: cc.Vec3) {
        return cc.v2(pos.x, pos.y);
    }

    static getVec3(pos: cc.Vec2) {
        return cc.v3(pos.x, pos.y, 0);
    }
}


